package sjtu.ist.warehouse4ws.dao;

import java.util.List;

import sjtu.ist.warehouse4ws.model.ShiroUser;




public interface ShiroUserDao extends BaseDao<ShiroUser>{
	ShiroUser findUser(String username);
	ShiroUser getUser(long userId);
	void saveShiroUser(ShiroUser user);
	void updateShiroUser(ShiroUser user);
	List<ShiroUser> getUserList(Integer companyId,String role);
	void delete(Integer id);
	public List<ShiroUser> findCompanyUser(int companyId);
}
